<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=320,initial-scale=1,maximum-scale=1" />
<title>友邦保险</title>
<link href="main.css"  type="text/css"  rel="stylesheet" />
<script language="javascript" src="js/jquery.js"></script>
<script language="javascript">
function ajaxSubmit()
{
	var province3 = $("select[name='province3']");
	var city3 = $("select[name='city3']");
	var pho = $("input[name='pho']");
	var name = $("input[name='name']");
	var validate = $("input[name='validate']");
	var sex = $("select[name='sex']");
	var birthy = $("select[name='birthy']");
	var birthm = $("select[name='birthm']");
	var lang = $("select[name='lang']");
	var check = $("#agree_check");
	
	if(name.val() == '')  
	{
		alert('请输入姓名');
		name[0].focus();
		return false;
	}else if(sex.val() == '')  
	{
		alert('请选择性别');
		sex[0].focus();
		return false;
	}
	else if(pho.val() == '')  
	{
		alert('请输入手机');
		pho[0].focus();
		return false;
	}else if(validate.val() == '')  
	{
		alert('请输入验证码');
		validate[0].focus();
		return false;
	}
	
	//发送ajax请求
	$.ajax
	({
		type:"POST",
		dataType:'json',
		cache:false,
		timeout:10000,
		async:false,
		url:"../nmp/nmp.action?t="+(new Date().getTime()),
		data:$("#formid").serialize(),
		success:function(json)
		   {
			  if(json.success==true)
			  {		
				  //alert("提交成功！")
				  window.location.href="ok.action";
			  }
			  else
			  {
				  alert("提交没有成功:"+json.message);
			  }
			},
		error:function(arg1,arg2)
		   {
				alert("浏览器提交失败:" + arg1 + " "+arg2);
		   }
	});
	return false;
}
</script>
<style>

</style>
<%@include file="inc_code_ga.jsp" %>
</head>
<body>
<div class="bigdiv" >
	<div class="">
		<img  src="images/top.jpg"></img>
	</div>
	<div class="intr" >
<p class="big" >18至60周岁均可投保，并可续保至64岁后的首个保险单周年日</p>
<p class="big" >主险保障利益</p>
<p class="small" >1. 意外身故/意外残疾/意外烧伤</p>
<p class="small" >2. 法定节假日双倍给付，最高达80万元</p>
<p>&nbsp;</p>
<p class="big2" style="">您可以提交以下信息获取相关产品信息：</p>
	</div>
	
	<form id="formid" action="" method="post"  name="form1" class="my_form" onsubmit="return false;" style="position: relative; display: block;">
		<input type="hidden" name="from" value="dm"></input>
    	<p><span class="redstar">*</span>姓名 :　 <input  type="text" name="name"  placeholder="请输入姓名"   />&nbsp;&nbsp;&nbsp;&nbsp;</p>
    	<p><span class="redstar">*</span>性别 :　 <select name="sex" style="width:190px" ><option value="">请选择</option><option value="M">男</option><option value="F">女</option></select>
    	 &nbsp;&nbsp;&nbsp;&nbsp;</p>
        
     	<p><span class="redstar">*</span>手机 :　 <input type="" name="pho" placeholder="请输入手机"  /></p>
     	
        <p><span class="redstar">*</span>验证码 : <input type="text" name="validate" style="width:60px;border:1px solid #999;"/>
                <span style="display:inline-block;width:77px;height:23px;vertical-align:top">
                	<image id="server_image" src="../xml/image.action?t=100" style="width:77px;height:23px;"></image>
                </span>
                <span style="color:#6b6b6b;"><a style="color:#6b6b6b; text-decoration: none;" href="#" onclick="$('#server_image').attr('src','../xml/image.action?t='+(new Date()).getTime()); return false;">看不清楚</a></span>
		</p>
  </form>
  
 <table cellpadding="0" cellspacing="0" border="0">
  	<tr>
  		<td><a href="#" onclick="ajaxSubmit(); return false;"><img src="images/btn1.jpg" ></image></a></td><td><a href="tel:4008001008" onclick="javascript:_gaq.push(['_trackPageview', '/aia1/dm/index/click400btn']);" ><img src="images/btn2.jpg" ></image></a></td>
  	</tr>
  </table>
  	<div class="intr" >
<p class="big" >附加险保障利益</p>
<p class="small" >1. 公共交通意外、学校医院火灾给付双倍主险保额,若同时发生在法定节假日则给付4倍(含主险给付)</p>
<p class="small" >2. 意外伤害医药补偿(无免赔，法定节假日双倍)</p>
<p class="small" >3. 意外全残每月给付(60月)</p>
<p class="small" >4. 意外住院给付(60月)</p>
<p class="small" style=""><span class="redstar">*</span>本次活动仅面向常居地在广东地区（深圳除外）的客户</p>
	</div>
  
  <div class="">
		<img src="images/pic.jpg"></img>
	</div>
	

</div>
<%@include file="inc_code_sell.jsp" %>
</body>
</html>